﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace test_076_test
{
    public partial class Articulos : System.Web.UI.Page
    {
        protected void Page_Preinit(object sender, EventArgs e)
        {
            if (Session["usuario"] == null || Session["usuario"].ToString() == string.Empty)
            {
                Response.Redirect("Login.aspx?mensaje=no_autorizado");
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnSalir_Click(object sender, EventArgs e)
        {
            Session["usuario"] = string.Empty;
            Response.Redirect("Login.aspx");
        }
    }
}
